am335x: configs: Fix usb ether boot support
authorLokesh Vutla <[email protected]>
Wed, 9 Mar 2016 10:09:33 +0000 (15:39 +0530)
committerTom Rini <[email protected]>
Wed, 16 Mar 2016 01:30:16 +0000 (21:30 -0400)
commite77faeb7977a802905ec3a93781296ae1539fa85
tree7ad269d1bdfacacdff0aba6dd6ac68f6651df65a
parent8462cb570f4c99b12a240644e2cbcfe1b9d30074
am335x: configs: Fix usb ether boot support

CONFIG_SPL_NET_VCI_STRING is available only with BOOTP. So if
CMD_DHCP is enabled for SPL in usb ether boot, it will not pass
the right vendor name and failing to download the right file.
Also all the net CMD_* are not required in SPL builds. So defining
these only for non-SPL builds.

Reported-by: Yan Liu <[email protected]>
Signed-off-by: Lokesh Vutla <[email protected]>
Reviewed-by: Sekhar Nori <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
include/configs/ti_am335x_common.h